package cn.signalpha;

import cn.signalpha.common.constant.CommonConstant;
import cn.signalpha.core.launch.StartApplication;
import cn.signalpha.core.mp.generator.BeanNameGenerator;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动器
 */
@EnableAsync
@EnableScheduling
@SpringBootApplication
@ComponentScan(basePackages = CommonConstant.BASE_PACKAGES_SCAN, nameGenerator = BeanNameGenerator.class)
public class Application {

	public static void main(String[] args) {
		StartApplication.run(CommonConstant.APPLICATION_NAME, Application.class, args);
	}

}

